﻿namespace EventBusNet6;
/// <summary>
/// rabbit 配置文件
/// </summary>
public class RabbitMQOptions
{
    /// <summary>
    /// RabbitMQ地址 设置IP
    /// </summary>
    public string? HostName { get; set; }
    /// <summary>
    /// 端口
    /// </summary>
    public int Port { get; set; } = 5672;

    /// <summary>
    /// RabbitMQ中要请求的VirtualHost名称
    /// </summary>
    public string? VirtualHost { get; set;}

    /// <summary>
    /// RabbitMQ用户
    /// </summary>
    public string? UserName { get; set; }

    /// <summary>
    /// RabbitMQ用户密码
    /// </summary>
    public string? Password { get; set; }
}
